package com.jy.appmarket.view;

import android.content.Context;
import android.util.AttributeSet;
import it.gmariotti.cardslib.library.view.CardGridView;

/** 
 * 类说明：   
 * @author  shaohui.yang
 * @date    2015-09-24
 * @version 1.0
 */
public class CustomCardGridView extends CardGridView {

	public CustomCardGridView(Context context) {
		super(context);
	}
	
	public CustomCardGridView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	@Override 
	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 
	    int expandSpec = MeasureSpec.makeMeasureSpec(  
	               Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST);  
	     
	    super.onMeasure(widthMeasureSpec, expandSpec); 
	} 

}
